home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / oew / ex_.ar_ / examples / stroustr.up / string / STRING.OEW
Unknown  |  1979-11-30  |  7.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 69 12 27 00 06 00 0f 00 | 00 00 44 65 66 61 75 6c |i.'.....|..Defaul|
|00000010| 74 20 4d 6f 64 75 6c 65 | 00 01 00 00 00 00 01 00 |t Module|........|
|00000020| 00 00 00 00 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 01 00 0b 00 00 00 73 74 | 72 69 6e 67 2e 68 78 78 |......st|ring.hxx|
|00000040| 00 01 00 00 00 00 0b 00 | 00 00 73 74 72 69 6e 67 |........|..string|
|00000050| 2e 68 78 78 00 00 00 01 | 00 01 00 00 00 00 12 04 |.hxx....|........|
|00000060| 76 2d 00 00 0b 00 00 00 | 69 6f 73 74 72 65 61 6d |v-......|iostream|
|00000070| 2e 68 00 01 00 00 00 00 | 0b 00 00 00 69 6f 73 74 |.h......|....iost|
|00000080| 72 65 61 6d 2e 68 00 01 | 00 01 00 0d 00 00 00 5f |ream.h..|......._|
|00000090| 5f 49 4f 53 54 52 45 41 | 4d 5f 48 00 00 00 00 00 |_IOSTREA|M_H.....|
|000000a0| 00 00 0b 00 00 00 73 74 | 72 69 6e 67 2e 63 78 78 |......st|ring.cxx|
|000000b0| 00 01 00 00 00 00 0b 00 | 00 00 73 74 72 69 6e 67 |........|..string|
|000000c0| 2e 63 78 78 00 00 00 00 | 00 01 00 00 00 00 b2 ff |.cxx....|........|
|000000d0| 75 2d 00 00 09 00 00 00 | 73 74 72 69 6e 67 2e 68 |u-......|string.h|
|000000e0| 00 01 00 00 00 00 09 00 | 00 00 73 74 72 69 6e 67 |........|..string|
|000000f0| 2e 68 00 01 00 01 00 0b | 00 00 00 5f 5f 53 54 52 |.h......|...__STR|
|00000100| 49 4e 47 5f 48 00 00 00 | 00 00 00 00 0d 00 00 00 |ING_H...|........|
|00000110| 47 6c 6f 62 61 6c 20 74 | 79 70 65 73 00 01 00 00 |Global t|ypes....|
|00000120| 00 00 0a 00 00 00 74 79 | 70 65 73 2e 68 70 70 00 |......ty|pes.hpp.|
|00000130| 00 00 01 00 01 00 00 00 | 00 be fc 75 2d 00 00 02 |........|...u-...|
|00000140| 00 01 00 00 00 07 00 00 | 00 73 74 72 69 6e 67 00 |........|.string.|
|00000150| 00 00 01 00 00 00 00 0b | 00 00 00 73 74 72 69 6e |........|...strin|
|00000160| 67 2e 68 78 78 00 0b 00 | 00 00 73 74 72 69 6e 67 |g.hxx...|..string|
|00000170| 2e 63 78 78 00 00 00 00 | 00 04 00 00 00 4f 45 57 |.cxx....|.....OEW|
|00000180| 00 71 fc 4f 2d 04 00 00 | 00 4f 45 57 00 04 00 00 |.q.O-...|.OEW....|
|00000190| 00 4f 45 57 00 65 01 76 | 2d 00 00 01 00 00 00 00 |.OEW.e.v|-.......|
|000001a0| 06 00 00 00 63 6c 61 73 | 73 00 01 00 00 00 00 00 |....clas|s.......|
|000001b0| 00 00 00 00 00 01 00 00 | 00 00 02 00 00 00 05 00 |........|........|
|000001c0| 00 00 73 72 65 70 00 01 | 00 01 00 00 00 00 01 00 |..srep..|........|
|000001d0| 00 00 00 0b 00 00 00 73 | 74 72 69 6e 67 2e 68 78 |.......s|tring.hx|
|000001e0| 78 00 00 00 00 00 04 00 | 00 00 4f 45 57 00 67 22 |x.......|..OEW.g"|
|000001f0| 50 2d 04 00 00 00 4f 45 | 57 00 04 00 00 00 4f 45 |P-....OE|W.....OE|
|00000200| 57 00 8b 03 76 2d 00 00 | 01 00 00 00 00 06 00 00 |W...v-..|........|
|00000210| 00 63 6c 61 73 73 00 01 | 00 00 00 00 00 00 00 00 |.class..|........|
|00000220| 00 00 01 00 00 00 00 00 | 00 13 00 01 00 00 00 07 |........|........|
|00000230| 00 00 00 73 74 72 69 6e | 67 00 00 00 01 00 05 00 |...strin|g.......|
|00000240| 12 00 00 00 20 73 74 72 | 69 6e 67 20 78 20 3d 20 |.... str|ing x = |
|00000250| 22 61 62 63 22 00 00 00 | 01 00 00 00 00 0e 00 00 |"abc"...|........|
|00000260| 00 63 6f 6e 73 74 20 63 | 68 61 72 2a 20 73 00 44 |.const c|har* s.D|
|00000270| 00 00 00 70 20 3d 20 6e | 65 77 20 73 72 65 70 3b |...p = n|ew srep;|
|00000280| 0d 0a 70 2d 3e 73 20 3d | 20 6e 65 77 20 63 68 61 |..p->s =| new cha|
|00000290| 72 20 5b 73 74 72 6c 65 | 6e 20 28 73 29 20 2b 20 |r [strle|n (s) + |
|000002a0| 31 5d 3b 0d 0a 73 74 72 | 63 70 79 20 28 70 2d 3e |1];..str|cpy (p->|
|000002b0| 73 2c 20 73 29 3b 00 00 | 00 00 00 01 00 02 00 00 |s, s);..|........|
|000002c0| 00 31 00 01 00 00 00 00 | 01 00 00 00 00 01 00 00 |.1......|........|
|000002d0| 00 00 01 00 00 00 00 04 | 00 00 00 4f 45 57 00 73 |........|...OEW.s|
|000002e0| fc 4f 2d 04 00 00 00 4f | 45 57 00 04 00 00 00 4f |.O-....O|EW.....O|
|000002f0| 45 57 00 75 fc 4f 2d 01 | 00 00 00 00 00 00 01 00 |EW.u.O-.|........|
|00000300| 01 00 00 00 00 01 00 00 | 00 00 00 00 04 00 00 00 |........|........|
|00000310| 4f 45 57 00 73 fc 4f 2d | 04 00 00 00 4f 45 57 00 |OEW.s.O-|....OEW.|
|00000320| 04 00 00 00 4f 45 57 00 | 73 fc 4f 2d 01 00 00 00 |....OEW.|s.O-....|
|00000330| 00 00 00 01 00 00 00 00 | 01 00 00 00 00 01 00 00 |........|........|
|00000340| 00 00 00 00 00 00 0b 00 | 00 00 73 74 72 69 6e 67 |........|..string|
|00000350| 2e 63 78 78 00 00 00 01 | 00 00 00 00 01 00 00 00 |.cxx....|........|
|00000360| 07 00 00 00 73 74 72 69 | 6e 67 00 00 00 01 00 05 |....stri|ng......|
|00000370| 00 0a 00 00 00 20 73 74 | 72 69 6e 67 20 78 00 00 |..... st|ring x..|
|00000380| 00 01 00 00 00 00 01 00 | 00 00 00 19 00 00 00 70 |........|.......p|
|00000390| 20 3d 20 6e 65 77 20 73 | 72 65 70 3b 0d 0a 70 2d | = new s|rep;..p-|
|000003a0| 3e 73 20 3d 20 30 3b 00 | 00 00 00 00 01 00 02 00 |>s = 0;.|........|
|000003b0| 00 00 31 00 01 00 00 00 | 00 01 00 00 00 00 01 00 |..1.....|........|
|000003c0| 00 00 00 01 00 00 00 00 | 04 00 00 00 4f 45 57 00 |........|....OEW.|
|000003d0| 73 fc 4f 2d 04 00 00 00 | 4f 45 57 00 04 00 00 00 |s.O-....|OEW.....|
|000003e0| 4f 45 57 00 75 fc 4f 2d | 01 00 00 00 00 00 00 01 |OEW.u.O-|........|
|000003f0| 00 01 00 00 00 00 01 00 | 00 00 00 00 00 04 00 00 |........|........|
|00000400| 00 4f 45 57 00 73 fc 4f | 2d 04 00 00 00 4f 45 57 |.OEW.s.O|-....OEW|
|00000410| 00 04 00 00 00 4f 45 57 | 00 73 fc 4f 2d 01 00 00 |.....OEW|.s.O-...|
|00000420| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 01 00 |........|........|
|00000430| 00 00 00 00 00 00 00 0b | 00 00 00 73 74 72 69 6e |........|...strin|
|00000440| 67 2e 63 78 78 00 00 00 | 01 00 00 00 00 01 00 00 |g.cxx...|........|
|00000450| 00 07 00 00 00 73 74 72 | 69 6e 67 00 00 00 01 00 |.....str|ing.....|
|00000460| 05 00 10 00 00 00 20 73 | 74 72 69 6e 67 20 78 20 |...... s|tring x |
|00000470| 3d 20 2e 2e 2e 00 00 00 | 01 00 00 00 00 10 00 00 |= ......|........|
|00000480| 00 63 6f 6e 73 74 20 73 | 74 72 69 6e 67 26 20 78 |.const s|tring& x|
|00000490| 00 15 00 00 00 78 2e 70 | 2d 3e 6e 20 2b 2b 3b 0d |.....x.p|->n ++;.|
|000004a0| 0a 70 20 3d 20 78 2e 70 | 3b 00 00 00 00 00 01 00 |.p = x.p|;.......|
|000004b0| 02 00 00 00 31 00 01 00 | 00 00 00 01 00 00 00 00 |....1...|........|
|000004c0| 01 00 00 00 00 01 00 00 | 00 00 04 00 00 00 4f 45 |........|......OE|
|000004d0| 57 00 73 fc 4f 2d 04 00 | 00 00 4f 45 57 00 04 00 |W.s.O-..|..OEW...|
|000004e0| 00 00 4f 45 57 00 76 fc | 4f 2d 01 00 00 00 00 00 |..OEW.v.|O-......|
|000004f0| 00 01 00 01 00 00 00 00 | 01 00 00 00 00 00 00 04 |........|........|
|00000500| 00 00 00 4f 45 57 00 73 | fc 4f 2d 04 00 00 00 4f |...OEW.s|.O-....O|
|00000510| 45 57 00 04 00 00 00 4f | 45 57 00 73 fc 4f 2d 01 |EW.....O|EW.s.O-.|
|00000520| 00 00 00 00 00 00 01 00 | 00 00 00 01 00 00 00 00 |........|........|
|00000530| 01 00 00 00 00 00 00 00 | 00 0b 00 00 00 73 74 72 |........|.....str|
|00000540| 69 6e 67 2e 63 78 78 00 | 00 00 01 00 00 00 00 01 |ing.cxx.|........|
|00000550| 00 00 00 08 00 00 00 7e | 73 74 72 69 6e 67 00 00 |.......~|string..|
|00000560| 00 01 00 05 00 01 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000570| 00 01 00 00 00 00 35 00 | 00 00 69 66 20 28 2d 2d |......5.|..if (--|
|00000580| 20 70 2d 3e 6e 20 3d 3d | 20 30 29 20 7b 0d 0a 09 | p->n ==| 0) {...|
|00000590| 64 65 6c 65 74 65 20 5b | 5d 20 70 2d 3e 73 3b 0d |delete [|] p->s;.|
|000005a0| 0a 09 64 65 6c 65 74 65 | 20 70 3b 0d 0a 7d 00 00 |..delete| p;..}..|
|000005b0| 00 00 00 01 00 02 00 00 | 00 31 00 01 00 00 00 00 |........|.1......|
|000005c0| 01 00 00 00 00 01 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|000005d0| 00 00 00 4f 45 57 00 73 | fc 4f 2d 04 00 00 00 4f |...OEW.s|.O-....O|
|000005e0| 45 57 00 04 00 00 00 4f | 45 57 00 76 fc 4f 2d 01 |EW.....O|EW.v.O-.|
|000005f0| 00 00 00 00 00 00 01 00 | 01 00 00 00 00 01 00 00 |........|........|
|00000600| 00 00 00 00 04 00 00 00 | 4f 45 57 00 73 fc 4f 2d |........|OEW.s.O-|
|00000610| 04 00 00 00 4f 45 57 00 | 04 00 00 00 4f 45 57 00 |....OEW.|....OEW.|
|00000620| 73 fc 4f 2d 01 00 00 00 | 00 00 00 01 00 00 00 00 |s.O-....|........|
|00000630| 01 00 00 00 00 01 00 00 | 00 00 00 00 00 00 0b 00 |........|........|
|00000640| 00 00 73 74 72 69 6e 67 | 2e 63 78 78 00 00 00 01 |..string|.cxx....|
|00000650| 00 00 00 00 01 00 00 00 | 0b 00 00 00 6f 70 65 72 |........|....oper|
|00000660| 61 74 6f 72 20 3d 00 00 | 00 01 00 05 00 01 00 00 |ator =..|........|
|00000670| 00 00 00 00 09 00 00 00 | 73 74 72 69 6e 67 20 26 |........|string &|
|00000680| 00 0e 00 00 00 63 6f 6e | 73 74 20 63 68 61 72 2a |.....con|st char*|
|00000690| 20 73 00 bc 00 00 00 69 | 66 20 28 70 2d 3e 6e 20 | s.....i|f (p->n |
|000006a0| 3e 20 31 29 20 7b 09 2f | 2f 20 64 69 73 63 6f 6e |> 1) {./|/ discon|
|000006b0| 6e 65 63 74 20 79 6f 75 | 72 73 65 6c 66 0d 0a 09 |nect you|rself...|
|000006c0| 70 2d 3e 6e 20 2d 2d 3b | 0d 0a 09 70 20 3d 20 6e |p->n --;|...p = n|
|000006d0| 65 77 20 73 72 65 70 3b | 0d 0a 7d 0d 0a 65 6c 73 |ew srep;|..}..els|
|000006e0| 65 20 7b 0d 0a 09 64 65 | 6c 65 74 65 20 5b 5d 20 |e {...de|lete [] |
|000006f0| 70 2d 3e 73 3b 09 2f 2f | 20 66 72 65 65 20 6f 6c |p->s;.//| free ol|
|00000700| 64 20 73 74 72 69 6e 67 | 0d 0a 7d 0d 0a 0d 0a 70 |d string|..}....p|
|00000710| 2d 3e 73 20 3d 20 6e 65 | 77 20 63 68 61 72 20 5b |->s = ne|w char [|
|00000720| 73 74 72 6c 65 6e 20 28 | 73 29 20 2b 20 31 5d 3b |strlen (|s) + 1];|
|00000730| 0d 0a 73 74 72 63 70 79 | 20 28 70 2d 3e 73 2c 20 |..strcpy| (p->s, |
|00000740| 73 29 3b 0d 0a 72 65 74 | 75 72 6e 20 2a 74 68 69 |s);..ret|urn *thi|
|00000750| 73 3b 00 00 00 00 00 01 | 00 02 00 00 00 31 00 01 |s;......|.....1..|
|00000760| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 01 00 |........|........|
|00000770| 00 00 00 04 00 00 00 4f | 45 57 00 73 fc 4f 2d 04 |.......O|EW.s.O-.|
|00000780| 00 00 00 4f 45 57 00 04 | 00 00 00 4f 45 57 00 76 |...OEW..|...OEW.v|
|00000790| fc 4f 2d 01 00 00 00 00 | 00 00 01 00 01 00 00 00 |.O-.....|........|
|000007a0| 00 01 00 00 00 00 00 00 | 04 00 00 00 4f 45 57 00 |........|....OEW.|
|000007b0| 73 fc 4f 2d 04 00 00 00 | 4f 45 57 00 04 00 00 00 |s.O-....|OEW.....|
|000007c0| 4f 45 57 00 73 fc 4f 2d | 01 00 00 00 00 00 00 01 |OEW.s.O-|........|
|000007d0| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 0b 00 00 00 73 74 | 72 69 6e 67 2e 63 78 78 |......st|ring.cxx|
|000007f0| 00 00 00 01 00 00 00 00 | 01 00 00 00 0b 00 00 00 |........|........|
|00000800| 6f 70 65 72 61 74 6f 72 | 20 3d 00 00 00 01 00 05 |operator| =......|
|00000810| 00 01 00 00 00 00 00 00 | 09 00 00 00 73 74 72 69 |........|....stri|
|00000820| 6e 67 20 26 00 10 00 00 | 00 63 6f 6e 73 74 20 73 |ng &....|.const s|
|00000830| 74 72 69 6e 67 26 20 78 | 00 76 00 00 00 78 2e 70 |tring& x|.v...x.p|
|00000840| 2d 3e 6e 20 2b 2b 3b 09 | 09 2f 2f 20 70 72 6f 74 |->n ++;.|.// prot|
|00000850| 65 63 74 20 61 67 61 69 | 6e 73 74 20 73 74 20 3d |ect agai|nst st =|
|00000860| 20 73 74 0d 0a 69 66 20 | 28 2d 2d 20 70 2d 3e 6e | st..if |(-- p->n|
|00000870| 20 3d 3d 20 30 29 20 7b | 0d 0a 09 64 65 6c 65 74 | == 0) {|...delet|
|00000880| 65 20 5b 5d 20 70 2d 3e | 73 3b 0d 0a 09 64 65 6c |e [] p->|s;...del|
|00000890| 65 74 65 20 70 3b 0d 0a | 7d 0d 0a 70 20 3d 20 78 |ete p;..|}..p = x|
|000008a0| 2e 70 3b 0d 0a 72 65 74 | 75 72 6e 20 2a 74 68 69 |.p;..ret|urn *thi|
|000008b0| 73 3b 00 00 00 00 00 01 | 00 02 00 00 00 31 00 01 |s;......|.....1..|
|000008c0| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 01 00 |........|........|
|000008d0| 00 00 00 04 00 00 00 4f | 45 57 00 73 fc 4f 2d 04 |.......O|EW.s.O-.|
|000008e0| 00 00 00 4f 45 57 00 04 | 00 00 00 4f 45 57 00 77 |...OEW..|...OEW.w|
|000008f0| fc 4f 2d 01 00 00 00 00 | 00 00 01 00 01 00 00 00 |.O-.....|........|
|00000900| 00 01 00 00 00 00 00 00 | 04 00 00 00 4f 45 57 00 |........|....OEW.|
|00000910| 73 fc 4f 2d 04 00 00 00 | 4f 45 57 00 04 00 00 00 |s.O-....|OEW.....|
|00000920| 4f 45 57 00 73 fc 4f 2d | 01 00 00 00 00 00 00 01 |OEW.s.O-|........|
|00000930| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000940| 00 00 0b 00 00 00 73 74 | 72 69 6e 67 2e 63 78 78 |......st|ring.cxx|
|00000950| 00 00 00 01 00 00 00 00 | 01 00 00 00 0c 00 00 00 |........|........|
|00000960| 6f 70 65 72 61 74 6f 72 | 20 3c 3c 00 00 00 01 00 |operator| <<.....|
|00000970| 05 00 01 00 00 00 00 00 | 00 11 00 00 00 66 72 69 |........|.....fri|
|00000980| 65 6e 64 20 6f 73 74 72 | 65 61 6d 20 26 00 18 00 |end ostr|eam &...|
|00000990| 00 00 6f 73 74 72 65 61 | 6d 26 2c 20 63 6f 6e 73 |..ostrea|m&, cons|
|000009a0| 74 20 73 74 72 69 6e 67 | 26 00 01 00 00 00 00 00 |t string|&.......|
|000009b0| 00 00 00 01 00 02 00 00 | 00 31 00 01 00 00 00 00 |........|.1......|
|000009c0| 01 00 00 00 00 01 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|000009d0| 00 00 00 4f 45 57 00 73 | fc 4f 2d 04 00 00 00 4f |...OEW.s|.O-....O|
|000009e0| 45 57 00 04 00 00 00 4f | 45 57 00 73 fc 4f 2d 01 |EW.....O|EW.s.O-.|
|000009f0| 00 00 00 00 00 00 01 00 | 01 00 00 00 00 01 00 00 |........|........|
|00000a00| 00 00 00 00 04 00 00 00 | 4f 45 57 00 73 fc 4f 2d |........|OEW.s.O-|
|00000a10| 04 00 00 00 4f 45 57 00 | 04 00 00 00 4f 45 57 00 |....OEW.|....OEW.|
|00000a20| 73 fc 4f 2d 01 00 00 00 | 00 00 00 01 00 00 00 00 |s.O-....|........|
|00000a30| 01 00 00 00 00 01 00 00 | 00 00 00 00 00 00 0b 00 |........|........|
|00000a40| 00 00 73 74 72 69 6e 67 | 2e 63 78 78 00 00 00 01 |..string|.cxx....|
|00000a50| 00 00 00 00 01 00 00 00 | 0c 00 00 00 6f 70 65 72 |........|....oper|
|00000a60| 61 74 6f 72 20 3e 3e 00 | 00 00 01 00 05 00 01 00 |ator >>.|........|
|00000a70| 00 00 00 00 00 11 00 00 | 00 66 72 69 65 6e 64 20 |........|.friend |
|00000a80| 69 73 74 72 65 61 6d 20 | 26 00 12 00 00 00 69 73 |istream |&.....is|
|00000a90| 74 72 65 61 6d 26 2c 20 | 73 74 72 69 6e 67 26 00 |tream&, |string&.|
|00000aa0| 01 00 00 00 00 00 00 00 | 00 01 00 02 00 00 00 31 |........|.......1|
|00000ab0| 00 01 00 00 00 00 01 00 | 00 00 00 01 00 00 00 00 |........|........|
|00000ac0| 01 00 00 00 00 04 00 00 | 00 4f 45 57 00 73 fc 4f |........|.OEW.s.O|
|00000ad0| 2d 04 00 00 00 4f 45 57 | 00 04 00 00 00 4f 45 57 |-....OEW|.....OEW|
|00000ae0| 00 73 fc 4f 2d 01 00 00 | 00 00 00 00 01 00 01 00 |.s.O-...|........|
|00000af0| 00 00 00 01 00 00 00 00 | 00 00 04 00 00 00 4f 45 |........|......OE|
|00000b00| 57 00 73 fc 4f 2d 04 00 | 00 00 4f 45 57 00 04 00 |W.s.O-..|..OEW...|
|00000b10| 00 00 4f 45 57 00 73 fc | 4f 2d 01 00 00 00 00 00 |..OEW.s.|O-......|
|00000b20| 00 01 00 00 00 00 01 00 | 00 00 00 01 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 0b 00 00 00 | 73 74 72 69 6e 67 2e 63 |........|string.c|
|00000b40| 78 78 00 00 00 01 00 00 | 00 00 01 00 00 00 0c 00 |xx......|........|
|00000b50| 00 00 6f 70 65 72 61 74 | 6f 72 20 3d 3d 00 00 00 |..operat|or ==...|
|00000b60| 01 00 05 00 01 00 00 00 | 00 00 00 0b 00 00 00 66 |........|.......f|
|00000b70| 72 69 65 6e 64 20 69 6e | 74 00 1f 00 00 00 63 6f |riend in|t.....co|
|00000b80| 6e 73 74 20 73 74 72 69 | 6e 67 26 20 78 2c 20 63 |nst stri|ng& x, c|
|00000b90| 6f 6e 73 74 20 63 68 61 | 72 2a 20 73 00 01 00 00 |onst cha|r* s....|
|00000ba0| 00 00 00 00 00 00 01 00 | 02 00 00 00 31 00 01 00 |........|....1...|
|00000bb0| 00 00 00 01 00 00 00 00 | 01 00 00 00 00 01 00 00 |........|........|
|00000bc0| 00 00 04 00 00 00 4f 45 | 57 00 73 fc 4f 2d 04 00 |......OE|W.s.O-..|
|00000bd0| 00 00 4f 45 57 00 04 00 | 00 00 4f 45 57 00 73 fc |..OEW...|..OEW.s.|
|00000be0| 4f 2d 01 00 00 00 00 00 | 00 01 00 01 00 00 00 00 |O-......|........|
|00000bf0| 01 00 00 00 00 00 00 04 | 00 00 00 4f 45 57 00 73 |........|...OEW.s|
|00000c00| fc 4f 2d 04 00 00 00 4f | 45 57 00 04 00 00 00 4f |.O-....O|EW.....O|
|00000c10| 45 57 00 73 fc 4f 2d 01 | 00 00 00 00 00 00 01 00 |EW.s.O-.|........|
|00000c20| 00 00 00 01 00 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 0b 00 00 00 73 74 72 | 69 6e 67 2e 63 78 78 00 |.....str|ing.cxx.|
|00000c40| 00 00 01 00 00 00 00 01 | 00 00 00 0c 00 00 00 6f |........|.......o|
|00000c50| 70 65 72 61 74 6f 72 20 | 3d 3d 00 00 00 01 00 05 |perator |==......|
|00000c60| 00 01 00 00 00 00 00 00 | 0b 00 00 00 66 72 69 65 |........|....frie|
|00000c70| 6e 64 20 69 6e 74 00 21 | 00 00 00 63 6f 6e 73 74 |nd int.!|...const|
|00000c80| 20 73 74 72 69 6e 67 26 | 20 78 2c 20 63 6f 6e 73 | string&| x, cons|
|00000c90| 74 20 73 74 72 69 6e 67 | 26 20 79 00 01 00 00 00 |t string|& y.....|
|00000ca0| 00 00 00 00 00 01 00 02 | 00 00 00 31 00 01 00 00 |........|...1....|
|00000cb0| 00 00 01 00 00 00 00 01 | 00 00 00 00 01 00 00 00 |........|........|
|00000cc0| 00 04 00 00 00 4f 45 57 | 00 74 fc 4f 2d 04 00 00 |.....OEW|.t.O-...|
|00000cd0| 00 4f 45 57 00 04 00 00 | 00 4f 45 57 00 74 fc 4f |.OEW....|.OEW.t.O|
|00000ce0| 2d 01 00 00 00 00 00 00 | 01 00 01 00 00 00 00 01 |-.......|........|
|00000cf0| 00 00 00 00 00 00 04 00 | 00 00 4f 45 57 00 74 fc |........|..OEW.t.|
|00000d00| 4f 2d 04 00 00 00 4f 45 | 57 00 04 00 00 00 4f 45 |O-....OE|W.....OE|
|00000d10| 57 00 74 fc 4f 2d 01 00 | 00 00 00 00 00 01 00 00 |W.t.O-..|........|
|00000d20| 00 00 01 00 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 0b 00 00 00 73 74 72 69 | 6e 67 2e 63 78 78 00 00 |....stri|ng.cxx..|
|00000d40| 00 01 00 00 00 00 01 00 | 00 00 0c 00 00 00 6f 70 |........|......op|
|00000d50| 65 72 61 74 6f 72 20 21 | 3d 00 00 00 01 00 05 00 |erator !|=.......|
|00000d60| 01 00 00 00 00 00 00 0b | 00 00 00 66 72 69 65 6e |........|...frien|
|00000d70| 64 20 69 6e 74 00 1f 00 | 00 00 63 6f 6e 73 74 20 |d int...|..const |
|00000d80| 73 74 72 69 6e 67 26 20 | 78 2c 20 63 6f 6e 73 74 |string& |x, const|
|00000d90| 20 63 68 61 72 2a 20 73 | 00 01 00 00 00 00 00 00 | char* s|........|
|00000da0| 00 00 01 00 02 00 00 00 | 31 00 01 00 00 00 00 01 |........|1.......|
|00000db0| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 04 00 |........|........|
|00000dc0| 00 00 4f 45 57 00 74 fc | 4f 2d 04 00 00 00 4f 45 |..OEW.t.|O-....OE|
|00000dd0| 57 00 04 00 00 00 4f 45 | 57 00 74 fc 4f 2d 01 00 |W.....OE|W.t.O-..|
|00000de0| 00 00 00 00 00 01 00 01 | 00 00 00 00 01 00 00 00 |........|........|
|00000df0| 00 00 00 04 00 00 00 4f | 45 57 00 74 fc 4f 2d 04 |.......O|EW.t.O-.|
|00000e00| 00 00 00 4f 45 57 00 04 | 00 00 00 4f 45 57 00 74 |...OEW..|...OEW.t|
|00000e10| fc 4f 2d 01 00 00 00 00 | 00 00 01 00 00 00 00 01 |.O-.....|........|
|00000e20| 00 00 00 00 01 00 00 00 | 00 00 00 00 00 0b 00 00 |........|........|
|00000e30| 00 73 74 72 69 6e 67 2e | 63 78 78 00 00 00 01 00 |.string.|cxx.....|
|00000e40| 00 00 00 01 00 00 00 0c | 00 00 00 6f 70 65 72 61 |........|...opera|
|00000e50| 74 6f 72 20 21 3d 00 00 | 00 01 00 05 00 01 00 00 |tor !=..|........|
|00000e60| 00 00 00 00 0b 00 00 00 | 66 72 69 65 6e 64 20 69 |........|friend i|
|00000e70| 6e 74 00 21 00 00 00 63 | 6f 6e 73 74 20 73 74 72 |nt.!...c|onst str|
|00000e80| 69 6e 67 26 20 78 2c 20 | 63 6f 6e 73 74 20 73 74 |ing& x, |const st|
|00000e90| 72 69 6e 67 26 20 79 00 | 01 00 00 00 00 00 00 00 |ring& y.|........|
|00000ea0| 00 01 00 02 00 00 00 31 | 00 01 00 00 00 00 01 00 |.......1|........|
|00000eb0| 00 00 00 01 00 00 00 00 | 01 00 00 00 00 04 00 00 |........|........|
|00000ec0| 00 4f 45 57 00 74 fc 4f | 2d 04 00 00 00 4f 45 57 |.OEW.t.O|-....OEW|
|00000ed0| 00 04 00 00 00 4f 45 57 | 00 74 fc 4f 2d 01 00 00 |.....OEW|.t.O-...|
|00000ee0| 00 00 00 00 01 00 01 00 | 00 00 00 01 00 00 00 00 |........|........|
|00000ef0| 00 00 04 00 00 00 4f 45 | 57 00 74 fc 4f 2d 04 00 |......OE|W.t.O-..|
|00000f00| 00 00 4f 45 57 00 04 00 | 00 00 4f 45 57 00 74 fc |..OEW...|..OEW.t.|
|00000f10| 4f 2d 01 00 00 00 00 00 | 00 01 00 00 00 00 01 00 |O-......|........|
|00000f20| 00 00 00 01 00 00 00 00 | 00 00 00 00 0b 00 00 00 |........|........|
|00000f30| 73 74 72 69 6e 67 2e 63 | 78 78 00 00 00 01 00 00 |string.c|xx......|
|00000f40| 00 00 01 00 00 00 0b 00 | 00 00 6f 70 65 72 61 74 |........|..operat|
|00000f50| 6f 72 20 3c 00 00 00 01 | 00 05 00 54 00 00 00 74 |or <....|...T...t|
|00000f60| 68 69 73 20 6f 70 65 72 | 61 74 6f 72 20 77 61 73 |his oper|ator was|
|00000f70| 20 61 64 64 65 64 20 74 | 6f 20 74 68 65 20 73 74 | added t|o the st|
|00000f80| 72 69 6e 67 20 63 6c 61 | 73 73 20 0d 0a 74 6f 20 |ring cla|ss ..to |
|00000f90| 6d 61 6b 65 20 74 68 65 | 20 4d 61 70 20 65 78 61 |make the| Map exa|
|00000fa0| 6d 70 6c 65 20 77 6f 72 | 6b 2c 20 63 66 2e 20 38 |mple wor|k, cf. 8|
|00000fb0| 2e 38 00 00 00 04 00 00 | 00 69 6e 74 00 0a 00 00 |.8......|.int....|
|00000fc0| 00 73 74 72 69 6e 67 26 | 20 78 00 22 00 00 00 72 |.string&| x."...r|
|00000fd0| 65 74 75 72 6e 20 73 74 | 72 63 6d 70 20 28 70 2d |eturn st|rcmp (p-|
|00000fe0| 3e 73 2c 20 78 2e 70 2d | 3e 73 29 20 3c 20 30 3b |>s, x.p-|>s) < 0;|
|00000ff0| 00 00 00 01 00 01 00 02 | 00 00 00 31 00 01 00 00 |........|...1....|
|00001000| 00 00 01 00 00 00 00 01 | 00 00 00 00 01 00 00 00 |........|........|
|00001010| 00 04 00 00 00 4f 45 57 | 00 74 fc 4f 2d 04 00 00 |.....OEW|.t.O-...|
|00001020| 00 4f 45 57 00 04 00 00 | 00 4f 45 57 00 52 db 64 |.OEW....|.OEW.R.d|
|00001030| 2d 01 00 00 00 00 00 00 | 01 00 01 00 00 00 00 01 |-.......|........|
|00001040| 00 00 00 00 00 00 04 00 | 00 00 4f 45 57 00 74 fc |........|..OEW.t.|
|00001050| 4f 2d 04 00 00 00 4f 45 | 57 00 04 00 00 00 4f 45 |O-....OE|W.....OE|
|00001060| 57 00 74 fc 4f 2d 01 00 | 00 00 00 00 00 01 00 00 |W.t.O-..|........|
|00001070| 00 00 01 00 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 0b 00 00 00 73 74 72 69 | 6e 67 2e 63 78 78 00 00 |....stri|ng.cxx..|
|00001090| 00 01 00 00 00 00 01 00 | 00 00 0c 00 00 00 6f 70 |........|......op|
|000010a0| 65 72 61 74 6f 72 20 5b | 5d 00 00 00 01 00 05 00 |erator [|].......|
|000010b0| 01 00 00 00 00 00 00 07 | 00 00 00 63 68 61 72 20 |........|...char |
|000010c0| 26 00 06 00 00 00 69 6e | 74 20 69 00 50 00 00 00 |&.....in|t i.P...|
|000010d0| 69 66 20 28 69 20 3c 20 | 30 20 7c 7c 20 73 74 72 |if (i < |0 || str|
|000010e0| 6c 65 6e 20 28 70 2d 3e | 73 29 20 3c 20 69 29 20 |len (p->|s) < i) |
|000010f0| 65 72 72 6f 72 20 28 22 | 69 6e 64 65 78 20 6f 75 |error ("|index ou|
|00001100| 74 20 6f 66 20 72 61 6e | 67 65 22 29 3b 0d 0a 72 |t of ran|ge");..r|
|00001110| 65 74 75 72 6e 20 70 2d | 3e 73 20 5b 69 5d 3b 00 |eturn p-|>s [i];.|
|00001120| 00 00 00 00 01 00 02 00 | 00 00 31 00 01 00 00 00 |........|..1.....|
|00001130| 00 01 00 00 00 00 01 00 | 00 00 00 01 00 00 00 00 |........|........|
|00001140| 04 00 00 00 4f 45 57 00 | 74 fc 4f 2d 04 00 00 00 |....OEW.|t.O-....|
|00001150| 4f 45 57 00 04 00 00 00 | 4f 45 57 00 77 fc 4f 2d |OEW.....|OEW.w.O-|
|00001160| 01 00 00 00 00 00 00 01 | 00 01 00 00 00 00 01 00 |........|........|
|00001170| 00 00 00 00 00 04 00 00 | 00 4f 45 57 00 74 fc 4f |........|.OEW.t.O|
|00001180| 2d 04 00 00 00 4f 45 57 | 00 04 00 00 00 4f 45 57 |-....OEW|.....OEW|
|00001190| 00 74 fc 4f 2d 01 00 00 | 00 00 00 00 01 00 00 00 |.t.O-...|........|
|000011a0| 00 01 00 00 00 00 01 00 | 00 00 00 00 00 00 00 0b |........|........|
|000011b0| 00 00 00 73 74 72 69 6e | 67 2e 63 78 78 00 00 00 |...strin|g.cxx...|
|000011c0| 01 00 00 00 00 01 00 00 | 00 05 00 00 00 73 72 65 |........|.....sre|
|000011d0| 70 00 00 00 02 00 19 00 | 01 00 00 00 00 00 00 01 |p.......|........|
|000011e0| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 01 00 02 00 00 00 | 31 00 01 00 00 00 00 01 |........|1.......|
|00001200| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 04 00 |........|........|
|00001210| 00 00 4f 45 57 00 54 22 | 50 2d 04 00 00 00 4f 45 |..OEW.T"|P-....OE|
|00001220| 57 00 04 00 00 00 4f 45 | 57 00 67 22 50 2d 01 00 |W.....OE|W.g"P-..|
|00001230| 00 00 00 00 00 01 00 01 | 00 00 00 00 01 00 00 00 |........|........|
|00001240| 00 00 00 04 00 00 00 4f | 45 57 00 54 22 50 2d 04 |.......O|EW.T"P-.|
|00001250| 00 00 00 4f 45 57 00 04 | 00 00 00 4f 45 57 00 54 |...OEW..|...OEW.T|
|00001260| 22 50 2d 01 00 00 00 00 | 00 00 01 00 00 00 00 01 |"P-.....|........|
|00001270| 00 00 00 00 01 00 00 00 | 00 00 00 00 00 01 00 00 |........|........|
|00001280| 00 00 02 00 00 00 00 00 | 01 00 00 00 00 01 00 00 |........|........|
|00001290| 00 02 00 00 00 70 00 00 | 00 02 00 04 00 01 00 00 |.....p..|........|
|000012a0| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 01 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 01 | 00 02 00 00 00 31 00 01 |........|.....1..|
|000012c0| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 01 00 |........|........|
|000012d0| 00 00 00 04 00 00 00 4f | 45 57 00 7d 00 76 2d 04 |.......O|EW.}.v-.|
|000012e0| 00 00 00 4f 45 57 00 04 | 00 00 00 4f 45 57 00 65 |...OEW..|...OEW.e|
|000012f0| 01 76 2d 01 00 00 00 00 | 00 00 01 00 01 00 00 00 |.v-.....|........|
|00001300| 00 01 00 00 00 00 00 00 | 04 00 00 00 4f 45 57 00 |........|....OEW.|
|00001310| 7d 00 76 2d 04 00 00 00 | 4f 45 57 00 04 00 00 00 |}.v-....|OEW.....|
|00001320| 4f 45 57 00 7d 00 76 2d | 01 00 00 00 00 00 00 01 |OEW.}.v-|........|
|00001330| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00001340| 00 00 01 00 00 00 00 00 | 00 01 00 00 00 00 02 00 |........|........|
|00001350| 00 00 05 00 00 00 73 72 | 65 70 00 00 00 01 00 05 |......sr|ep......|
|00001360| 00 01 00 00 00 00 00 00 | 01 00 00 00 00 01 00 00 |........|........|
|00001370| 00 00 07 00 00 00 6e 20 | 3d 20 31 3b 00 01 00 00 |......n |= 1;....|
|00001380| 00 01 00 02 00 00 00 31 | 00 01 00 00 00 00 01 00 |.......1|........|
|00001390| 00 00 00 01 00 00 00 00 | 01 00 00 00 00 04 00 00 |........|........|
|000013a0| 00 4f 45 57 00 72 fc 4f | 2d 04 00 00 00 4f 45 57 |.OEW.r.O|-....OEW|
|000013b0| 00 04 00 00 00 4f 45 57 | 00 87 03 76 2d 01 00 00 |.....OEW|...v-...|
|000013c0| 00 00 00 00 01 00 01 00 | 00 00 00 01 00 00 00 00 |........|........|
|000013d0| 00 00 04 00 00 00 4f 45 | 57 00 72 fc 4f 2d 04 00 |......OE|W.r.O-..|
|000013e0| 00 00 4f 45 57 00 04 00 | 00 00 4f 45 57 00 72 fc |..OEW...|..OEW.r.|
|000013f0| 4f 2d 01 00 00 00 00 00 | 00 01 00 00 00 00 01 00 |O-......|........|
|00001400| 00 00 00 01 00 00 00 00 | 00 00 00 00 0b 00 00 00 |........|........|
|00001410| 73 74 72 69 6e 67 2e 68 | 78 78 00 00 00 01 00 00 |string.h|xx......|
|00001420| 00 00 02 00 00 00 02 00 | 00 00 6e 00 00 00 01 00 |........|..n.....|
|00001430| 00 00 11 00 00 00 20 72 | 65 66 65 72 65 6e 63 65 |...... r|eference|
|00001440| 20 63 6f 75 6e 74 00 00 | 00 01 00 00 00 00 01 00 | count..|........|
|00001450| 00 00 00 01 00 00 00 00 | 00 00 00 00 01 00 02 00 |........|........|
|00001460| 00 00 31 00 01 00 00 00 | 00 01 00 00 00 00 01 00 |..1.....|........|
|00001470| 00 00 00 01 00 00 00 00 | 04 00 00 00 4f 45 57 00 |........|....OEW.|
|00001480| 72 fc 4f 2d 04 00 00 00 | 4f 45 57 00 04 00 00 00 |r.O-....|OEW.....|
|00001490| 4f 45 57 00 72 fc 4f 2d | 01 00 00 00 00 00 00 01 |OEW.r.O-|........|
|000014a0| 00 01 00 00 00 00 01 00 | 00 00 00 00 00 04 00 00 |........|........|
|000014b0| 00 4f 45 57 00 72 fc 4f | 2d 04 00 00 00 4f 45 57 |.OEW.r.O|-....OEW|
|000014c0| 00 04 00 00 00 4f 45 57 | 00 72 fc 4f 2d 01 00 00 |.....OEW|.r.O-...|
|000014d0| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 01 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 01 | 00 00 00 00 00 00 01 00 |........|........|
|000014f0| 00 00 00 02 00 00 00 02 | 00 00 00 73 00 00 00 01 |........|...s....|
|00001500| 00 03 00 11 00 00 00 20 | 70 6f 69 6e 74 65 72 20 |....... |pointer |
|00001510| 74 6f 20 64 61 74 61 00 | 00 00 01 00 00 00 00 01 |to data.|........|
|00001520| 00 00 00 00 01 00 00 00 | 00 00 00 00 00 01 00 02 |........|........|
|00001530| 00 00 00 31 00 01 00 00 | 00 00 01 00 00 00 00 01 |...1....|........|
|00001540| 00 00 00 00 01 00 00 00 | 00 04 00 00 00 4f 45 57 |........|.....OEW|
|00001550| 00 72 fc 4f 2d 04 00 00 | 00 4f 45 57 00 04 00 00 |.r.O-...|.OEW....|
|00001560| 00 4f 45 57 00 72 fc 4f | 2d 01 00 00 00 00 00 00 |.OEW.r.O|-.......|
|00001570| 01 00 01 00 00 00 00 01 | 00 00 00 00 00 00 04 00 |........|........|
|00001580| 00 00 4f 45 57 00 72 fc | 4f 2d 04 00 00 00 4f 45 |..OEW.r.|O-....OE|
|00001590| 57 00 04 00 00 00 4f 45 | 57 00 72 fc 4f 2d 01 00 |W.....OE|W.r.O-..|
|000015a0| 00 00 00 00 00 01 00 00 | 00 00 01 00 00 00 00 01 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 01 00 00 00 00 00 00 01 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 0d 00 00 00 47 6c 6f 62 |........|....Glob|
|000015d0| 61 6c 20 74 79 70 65 73 | 00 0a 00 00 00 6d 61 6b |al types|.....mak|
|000015e0| 65 66 69 6c 65 2e 00 01 | 00 00 00 00 00 00 09 00 |efile...|........|
|000015f0| 00 00 63 6c 61 73 73 65 | 73 2e 00 0d 00 00 00 6d |..classe|s......m|
|00001600| 61 6b 65 66 69 6c 65 2e | 6d 74 70 00 0c 00 00 00 |akefile.|mtp.....|
|00001610| 70 72 6f 6a 65 63 74 2e | 70 72 6a 00 0f 00 00 00 |project.|prj.....|
|00001620| 5c 6f 65 77 31 33 5c 64 | 65 66 2e 70 72 6a 00 01 |\oew13\d|ef.prj..|
|00001630| 00 00 00 00 01 00 00 00 | 00 01 00 00 00 00 01 00 |........|........|
|00001640| 00 00 00 01 00 00 00 00 | 09 00 00 00 6d 61 69 6e |........|....main|
|00001650| 2e 65 78 65 00 01 00 00 | 00 00 01 00 00 00 00 01 |.exe....|........|
|00001660| 00 00 00 00 08 00 00 00 | 75 6e 6e 61 6d 65 64 00 |........|unnamed.|
|00001670| 01 00 00 00 00 01 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00001680| 00 01 00 00 00 00 04 00 | 00 00 68 78 78 00 04 00 |........|..hxx...|
|00001690| 00 00 63 78 78 00 01 00 | 02 00 00 00 6d 00 06 00 |..cxx...|....m...|
|000016a0| 00 00 4c 49 53 54 45 00 | 00 00 0a 00 00 00 6c 69 |..LISTE.|......li|
|000016b0| 73 74 65 2e 68 70 70 00 | 01 00 00 00 00 00 00 00 |ste.hpp.|........|
|000016c0| 01 00 00 00 00 00 01 00 | 06 00 0f 00 00 00 44 65 |........|......De|
|000016d0| 66 61 75 6c 74 20 4d 6f | 64 75 6c 65 00 02 00 06 |fault Mo|dule....|
|000016e0| 00 00 00 06 00 01 00 04 | 00 00 00 4f 45 57 00 71 |........|...OEW.q|
|000016f0| fc 4f 2d 04 00 00 00 4f | 45 57 00 04 00 00 00 4f |.O-....O|EW.....O|
|00001700| 45 57 00 71 fc 4f 2d 0b | 00 00 00 73 74 72 69 6e |EW.q.O-.|...strin|
|00001710| 67 2e 68 78 78 00 05 00 | 06 00 00 00 06 00 01 00 |g.hxx...|........|
|00001720| 08 00 0b 00 00 00 69 6f | 73 74 72 65 61 6d 2e 68 |......io|stream.h|
|00001730| 00 01 00 02 00 07 00 00 | 00 73 74 72 69 6e 67 00 |........|.string.|
|00001740| 03 00 0d 00 00 00 73 74 | 72 69 6e 67 3a 3a 73 72 |......st|ring::sr|
|00001750| 65 70 00 01 00 04 00 00 | 00 4f 45 57 00 72 fc 4f |ep......|.OEW.r.O|
|00001760| 2d 04 00 00 00 4f 45 57 | 00 04 00 00 00 4f 45 57 |-....OEW|.....OEW|
|00001770| 00 87 03 76 2d 0b 00 00 | 00 69 6f 73 74 72 65 61 |...v-...|.iostrea|
|00001780| 6d 2e 68 00 02 00 06 00 | 00 00 06 00 01 00 04 00 |m.h.....|........|
|00001790| 00 00 4f 45 57 00 72 fc | 4f 2d 04 00 00 00 4f 45 |..OEW.r.|O-....OE|
|000017a0| 57 00 04 00 00 00 4f 45 | 57 00 38 ff 75 2d 0b 00 |W.....OE|W.8.u-..|
|000017b0| 00 00 73 74 72 69 6e 67 | 2e 63 78 78 00 1b 00 06 |..string|.cxx....|
|000017c0| 00 00 00 06 00 01 00 08 | 00 09 00 00 00 73 74 72 |........|.....str|
|000017d0| 69 6e 67 2e 68 00 01 00 | 00 00 19 00 00 00 65 78 |ing.h...|......ex|
|000017e0| 74 65 72 6e 20 22 43 22 | 20 20 65 78 69 74 28 69 |tern "C"| exit(i|
|000017f0| 6e 74 29 3b 0d 0a 00 00 | 00 1b 00 00 00 76 6f 69 |nt);....|.....voi|
|00001800| 64 20 65 72 72 6f 72 28 | 63 6f 6e 73 74 20 63 68 |d error(|const ch|
|00001810| 61 72 2a 29 3b 0d 0a 00 | 03 00 07 00 00 00 73 74 |ar*);...|......st|
|00001820| 72 69 6e 67 00 01 00 03 | 00 07 00 00 00 73 74 72 |ring....|.....str|
|00001830| 69 6e 67 00 02 00 03 00 | 07 00 00 00 73 74 72 69 |ing.....|....stri|
|00001840| 6e 67 00 03 00 03 00 07 | 00 00 00 73 74 72 69 6e |ng......|...strin|
|00001850| 67 00 04 00 03 00 07 00 | 00 00 73 74 72 69 6e 67 |g.......|..string|
|00001860| 00 05 00 03 00 07 00 00 | 00 73 74 72 69 6e 67 00 |........|.string.|
|00001870| 06 00 03 00 07 00 00 00 | 73 74 72 69 6e 67 00 0d |........|string..|
|00001880| 00 03 00 07 00 00 00 73 | 74 72 69 6e 67 00 0e 00 |.......s|tring...|
|00001890| 00 00 6f 00 00 00 6f 73 | 74 72 65 61 6d 20 26 20 |..o...os|tream & |
|000018a0| 6f 70 65 72 61 74 6f 72 | 20 3c 3c 28 6f 73 74 72 |operator| <<(ostr|
|000018b0| 65 61 6d 26 20 73 2c 20 | 63 6f 6e 73 74 20 73 74 |eam& s, |const st|
|000018c0| 72 69 6e 67 26 78 29 0d | 0a 7b 0d 0a 0d 0a 09 72 |ring&x).|.{.....r|
|000018d0| 65 74 75 72 6e 20 73 20 | 3c 3c 20 78 2e 70 2d 3e |eturn s |<< x.p->|
|000018e0| 73 20 3c 3c 20 22 20 5b | 22 20 3c 3c 20 78 2e 70 |s << " [|" << x.p|
|000018f0| 2d 3e 6e 20 3c 3c 20 22 | 5d 5c 6e 22 3b 0d 0a 0d |->n << "|]\n";...|
|00001900| 0a 7d 0d 0a 00 00 00 d3 | 00 00 00 69 73 74 72 65 |.}......|...istre|
|00001910| 61 6d 20 26 20 6f 70 65 | 72 61 74 6f 72 20 3e 3e |am & ope|rator >>|
|00001920| 28 69 73 74 72 65 61 6d | 26 20 73 2c 20 73 74 72 |(istream|& s, str|
|00001930| 69 6e 67 26 20 78 29 0d | 0a 7b 0d 0a 0d 0a 09 63 |ing& x).|.{.....c|
|00001940| 68 61 72 20 62 75 66 20 | 5b 32 35 36 5d 3b 0d 0a |har buf |[256];..|
|00001950| 09 73 20 3e 3e 20 62 75 | 66 3b 09 2f 2f 20 75 6e |.s >> bu|f;.// un|
|00001960| 73 61 66 65 6d 69 67 68 | 74 20 6f 76 65 72 66 6c |safemigh|t overfl|
|00001970| 6f 77 0d 0a 09 09 2f 2f | 20 73 65 65 20 73 65 63 |ow....//| see sec|
|00001980| 74 69 6f 6e 20 31 30 2e | 33 2e 31 20 66 6f 72 20 |tion 10.|3.1 for |
|00001990| 61 6c 74 65 72 6e 61 74 | 69 76 65 0d 0a 0d 0a 09 |alternat|ive.....|
|000019a0| 78 20 3d 20 62 75 66 3b | 0d 0a 09 63 6f 75 74 20 |x = buf;|...cout |
|000019b0| 3c 3c 20 22 65 63 68 6f | 3a 20 22 20 3c 3c 20 78 |<< "echo|: " << x|
|000019c0| 20 3c 3c 20 27 5c 6e 27 | 3b 09 0d 0a 09 72 65 74 | << '\n'|;....ret|
|000019d0| 75 72 6e 20 73 3b 0d 0a | 0d 0a 7d 0d 0a 00 00 00 |urn s;..|..}.....|
|000019e0| 5a 00 00 00 69 6e 74 20 | 6f 70 65 72 61 74 6f 72 |Z...int |operator|
|000019f0| 20 3d 3d 28 63 6f 6e 73 | 74 20 73 74 72 69 6e 67 | ==(cons|t string|
|00001a00| 26 78 2c 20 63 6f 6e 73 | 74 20 63 68 61 72 20 2a |&x, cons|t char *|
|00001a10| 73 29 0d 0a 7b 0d 0a 20 | 72 65 74 75 72 6e 20 73 |s)..{.. |return s|
|00001a20| 74 72 63 6d 70 20 28 78 | 2e 70 2d 3e 73 2c 20 73 |trcmp (x|.p->s, s|
|00001a30| 29 20 3d 3d 20 30 3b 20 | 0d 0a 7d 0d 0a 00 00 00 |) == 0; |..}.....|
|00001a40| 61 00 00 00 69 6e 74 20 | 6f 70 65 72 61 74 6f 72 |a...int |operator|
|00001a50| 20 3d 3d 28 63 6f 6e 73 | 74 20 73 74 72 69 6e 67 | ==(cons|t string|
|00001a60| 26 78 2c 20 63 6f 6e 73 | 74 20 73 74 72 69 6e 67 |&x, cons|t string|
|00001a70| 26 20 79 29 0d 0a 7b 0d | 0a 20 72 65 74 75 72 6e |& y)..{.|. return|
|00001a80| 20 73 74 72 63 6d 70 20 | 28 78 2e 70 2d 3e 73 2c | strcmp |(x.p->s,|
|00001a90| 20 79 2e 70 2d 3e 73 29 | 20 3d 3d 20 30 3b 20 0d | y.p->s)| == 0; .|
|00001aa0| 0a 7d 0d 0a 00 00 00 5a | 00 00 00 69 6e 74 20 6f |.}.....Z|...int o|
|00001ab0| 70 65 72 61 74 6f 72 20 | 21 3d 28 63 6f 6e 73 74 |perator |!=(const|
|00001ac0| 20 73 74 72 69 6e 67 26 | 78 2c 20 63 6f 6e 73 74 | string&|x, const|
|00001ad0| 20 63 68 61 72 20 2a 73 | 29 0d 0a 7b 0d 0a 20 72 | char *s|)..{.. r|
|00001ae0| 65 74 75 72 6e 20 73 74 | 72 63 6d 70 20 28 78 2e |eturn st|rcmp (x.|
|00001af0| 70 2d 3e 73 2c 20 73 29 | 20 21 3d 20 30 3b 20 0d |p->s, s)| != 0; .|
|00001b00| 0a 7d 0d 0a 00 00 00 61 | 00 00 00 69 6e 74 20 6f |.}.....a|...int o|
|00001b10| 70 65 72 61 74 6f 72 20 | 21 3d 28 63 6f 6e 73 74 |perator |!=(const|
|00001b20| 20 73 74 72 69 6e 67 26 | 78 2c 20 63 6f 6e 73 74 | string&|x, const|
|00001b30| 20 73 74 72 69 6e 67 26 | 20 79 29 0d 0a 7b 0d 0a | string&| y)..{..|
|00001b40| 20 72 65 74 75 72 6e 20 | 73 74 72 63 6d 70 20 28 | return |strcmp (|
|00001b50| 78 2e 70 2d 3e 73 2c 20 | 79 2e 70 2d 3e 73 29 20 |x.p->s, |y.p->s) |
|00001b60| 21 3d 20 30 3b 20 0d 0a | 7d 0d 0a 00 03 00 07 00 |!= 0; ..|}.......|
|00001b70| 00 00 73 74 72 69 6e 67 | 00 0b 00 03 00 07 00 00 |..string|........|
|00001b80| 00 73 74 72 69 6e 67 00 | 0c 00 03 00 07 00 00 00 |.string.|........|
|00001b90| 73 74 72 69 6e 67 00 07 | 00 03 00 07 00 00 00 73 |string..|.......s|
|00001ba0| 74 72 69 6e 67 00 0a 00 | 03 00 07 00 00 00 73 74 |tring...|......st|
|00001bb0| 72 69 6e 67 00 09 00 03 | 00 07 00 00 00 73 74 72 |ring....|.....str|
|00001bc0| 69 6e 67 00 08 00 00 00 | 47 00 00 00 76 6f 69 64 |ing.....|G...void|
|00001bd0| 20 65 72 72 6f 72 28 63 | 6f 6e 73 74 20 63 68 61 | error(c|onst cha|
|00001be0| 72 2a 20 70 29 0d 0a 7b | 0d 0a 0d 0a 09 63 65 72 |r* p)..{|.....cer|
|00001bf0| 72 20 3c 3c 20 70 20 3c | 3c 20 27 5c 6e 27 3b 0d |r << p <|< '\n';.|
|00001c00| 0a 09 65 78 69 74 20 28 | 31 29 3b 0d 0a 0d 0a 7d |..exit (|1);....}|
|00001c10| 0d 0a 00 00 00 60 01 00 | 00 69 6e 74 20 6d 61 69 |.....`..|.int mai|
|00001c20| 6e 28 29 0d 0a 7b 0d 0a | 0d 0a 09 73 74 72 69 6e |n()..{..|...strin|
|00001c30| 67 20 78 20 5b 31 30 30 | 5d 3b 0d 0a 09 69 6e 74 |g x [100|];...int|
|00001c40| 20 6e 3b 0d 0a 0d 0a 09 | 63 6f 75 74 20 3c 3c 20 | n;.....|cout << |
|00001c50| 22 68 65 72 65 20 77 65 | 20 67 6f 5c 6e 22 3b 0d |"here we| go\n";.|
|00001c60| 0a 09 66 6f 72 20 28 6e | 20 3d 20 30 3b 20 63 69 |..for (n| = 0; ci|
|00001c70| 6e 20 3e 3e 20 78 5b 6e | 5d 3b 20 6e 20 2b 2b 29 |n >> x[n|]; n ++)|
|00001c80| 20 7b 0d 0a 09 09 69 66 | 20 28 6e 20 3d 3d 20 31 | {....if| (n == 1|
|00001c90| 30 30 29 20 7b 0d 0a 09 | 09 09 65 72 72 6f 72 20 |00) {...|..error |
|00001ca0| 28 22 74 6f 6f 20 6d 61 | 6e 79 20 73 74 72 69 6e |("too ma|ny strin|
|00001cb0| 67 73 22 29 3b 0d 0a 09 | 09 09 72 65 74 75 72 6e |gs");...|..return|
|00001cc0| 20 39 39 3b 0d 0a 09 09 | 7d 0d 0a 09 09 73 74 72 | 99;....|}....str|
|00001cd0| 69 6e 67 20 79 3b 0d 0a | 09 09 63 6f 75 74 20 3c |ing y;..|..cout <|
|00001ce0| 3c 20 28 79 20 3d 20 78 | 20 5b 6e 5d 29 3b 0d 0a |< (y = x| [n]);..|
|00001cf0| 09 09 69 66 20 28 79 20 | 3d 3d 20 22 64 6f 6e 65 |..if (y |== "done|
|00001d00| 22 29 20 62 72 65 61 6b | 3b 0d 0a 09 7d 0d 0a 09 |") break|;...}...|
|00001d10| 63 6f 75 74 20 3c 3c 20 | 22 68 65 72 65 20 77 65 |cout << |"here we|
|00001d20| 20 67 6f 20 62 61 63 6b | 20 61 67 61 69 6e 5c 6e | go back| again\n|
|00001d30| 22 3b 0d 0a 09 66 6f 72 | 20 28 69 6e 74 20 69 20 |";...for| (int i |
|00001d40| 3d 20 6e 20 2d 20 31 3b | 20 30 20 3c 3d 20 69 3b |= n - 1;| 0 <= i;|
|00001d50| 20 69 20 2d 2d 29 20 63 | 6f 75 74 20 3c 3c 20 78 | i --) c|out << x|
|00001d60| 20 5b 69 5d 3b 0d 0a 09 | 72 65 74 75 72 6e 20 30 | [i];...|return 0|
|00001d70| 3b 0d 0a 0d 0a 7d 0d 0a | 00 04 00 00 00 4f 45 57 |;....}..|.....OEW|
|00001d80| 00 75 fc 4f 2d 04 00 00 | 00 4f 45 57 00 04 00 00 |.u.O-...|.OEW....|
|00001d90| 00 4f 45 57 00 8b ff 75 | 2d 09 00 00 00 73 74 72 |.OEW...u|-....str|
|00001da0| 69 6e 67 2e 68 00 02 00 | 06 00 00 00 06 00 01 00 |ing.h...|........|
|00001db0| 04 00 00 00 4f 45 57 00 | 75 fc 4f 2d 04 00 00 00 |....OEW.|u.O-....|
|00001dc0| 4f 45 57 00 04 00 00 00 | 4f 45 57 00 40 ff 75 2d |OEW.....|OEW.@.u-|
|00001dd0| 0d 00 00 00 47 6c 6f 62 | 61 6c 20 74 79 70 65 73 |....Glob|al types|
|00001de0| 00 03 00 06 00 00 00 06 | 00 01 00 06 00 03 00 04 |........|........|
|00001df0| 00 00 00 4f 45 57 00 f6 | e3 64 2d 04 00 00 00 4f |...OEW..|.d-....O|
|00001e00| 45 57 00 04 00 00 00 4f | 45 57 00 f6 e3 64 2d 00 |EW.....O|EW...d-.|
|00001e10| 00 00 00 fd fb 4f 2d 3f | 00 00 00 00 00 03 00 02 |.....O-?|........|
|00001e20| 00 07 00 00 00 73 74 72 | 69 6e 67 00 01 00 01 00 |.....str|ing.....|
|00001e30| 00 00 0d 00 00 00 73 74 | 72 69 6e 67 3a 3a 73 72 |......st|ring::sr|
|00001e40| 65 70 00 01 00 01 00 00 | 00 01 00 02 00 07 00 00 |ep......|........|
|00001e50| 00 73 74 72 69 6e 67 00 | 02 00 00 00 70 00 08 00 |.string.|....p...|
|00001e60| 00 00 75 6e 6e 61 6d 65 | 64 00 01 00 00 00 00 00 |..unname|d.......|
|00001e70| 00 00 00 00 00 0d 00 00 | 00 73 74 72 69 6e 67 3a |........|.string:|
|00001e80| 3a 73 72 65 70 00 01 00 | 00 00 00 01 00 00 00 00 |:srep...|........|
|00001e90| 00 00 00 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+